Why Is My Useeffect Running Twice